package com.liuxm.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liuxm.user.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {
    @Select("select * from tb_user where username = #{username}")
    User queryByUsername(@Param("username") String username);
}